package com.codechuan.didi_web.service;

import com.codechuan.didi_web.entity.SysUserToken;

import java.util.List;

public interface SysUserTokenService {
    /**
     * @Deprecated 通过账户查询所有ticket
     * @param keyNumber 账户
     * @return 返回ticket
     */
    SysUserToken selectTokenByAccount(String keyNumber);

    /**
     * @Deprecated 通过账户查询主号ticket
     * @param keyNumber 账户
     * @return 返回ticket
     */
    String selectMainTokenByAccount(String keyNumber);

    /**
     * @Deprecated 通过账户查询小号ticket集合
     * @param account 账户
     * @return 返回ticket
     */
    List<String> selectMiniTokenListByAccount(String account);
}
